﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IDAL
{
   public interface IPricePolicyDAL
    {
        void Add(PricePolicy model);
        void Update(PricePolicy model);
        DataTable Query(string strWhere, Hashtable parameter);
        void Delete(int policyId);

       PricePolicy GetPolicyById(int policyId);

       DataTable GetPoliciesByPage(string strWhere, string strOrderBy, int pageIndex, int pageSize,
                                           out int recordCount, out int pageCount);
    }
}
